package com.wn.ticket.mapper;

import com.wn.ticket.entity.Perform;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @author wuqingting
 * @date 2022/8/28
 */
@Repository
public interface PerformMapper {
    void add(Perform perform);
    void update(Perform perform);
    Perform getById(int id);
    List<Perform> getAll();
    List<Perform> getByCondition(Perform perform);
    List<Perform> getByHot();
    List<Perform> getByCity(String name);
    List<Perform> getByProfile(String profile);

    List<Perform> getByArName(String arName);
}
